<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
	<link href="<c:url value="/js/bootstrap-3.2.0-dist/css/bootstrap.min.css"/>" rel="stylesheet">
</head>
<body>
	<h2>Employee information</h2>
	<form:form method="POST" action="/SpringExamples/edit">
		<form:hidden path="id"/>
		<div class="container-fluid">
		 <div class="row">
			<div class="col-md-4">
				<div class="row">
					<div class="col-md-4">
						<form:label path="firstName">First Name:</form:label>
					</div>
					<div class="col-md-6">
						<form:input path="firstName"/>
					</div>
				</div>
			</div>
			<div class="col-md-4">
				<div class="row">
					<div class="col-md-4">
						<form:label path="lastName">Last Name:</form:label>
					</div>
					<div class="col-md-6">
						<form:input path="lastName"/>
					</div>
				</div>
			</div>
			<div class="col-md-4">
				<div class="row">
					<div class="col-md-4">
						<form:label path="salary">Salary:</form:label>
					</div>
					<div class="col-md-6">
						<form:input path="salary"/>
					</div>
				</div>
			</div>
			<div class="col-md-12">
				<input type="submit" class="btn btn-success btn-xs"" value="Submit"/>
			</div>
		</div>
	</div>
	</form:form>
</body>
</html>